package com.cloudlead.commonData.entity;

import com.cloudlead.common.lang.persistence.AbstractIdEntity;

import com.cloudlead.common.persistence.UpdateCheck;

import java.lang.Float;
import javax.validation.constraints.Size;
import com.cloudlead.common.lang.annotation.Label;
import java.lang.String;
import javax.validation.constraints.NotNull;

/**
 * EBaseCar is a Querydsl bean type
 */
@Label("车辆基本信息表")
public class EBaseCar extends AbstractIdEntity<String> {

    private static final long serialVersionUID =7930774726756L;    
    @Label("baseCompanyId")
    @Size(max=24)
    private String baseCompanyId;

    @Label("baseDriverId")
    @Size(max=24)
    private String baseDriverId;

    @Label("车队编号")
    @Size(max=24)
    private String baseFleetId;

    @Label("所属GPS")
    @Size(max=24)
    private String baseGps;

    @Label("备注")
    @Size(max=45)
    private String comments;

    @Label("所属公司")
    @Size(max=45)
    private String company;

    @Label("载重量")
    private Float deadWeight;

    @Label("驾驶员编号")
    @Size(max=45)
    private String driver;

    @Label("发动机号")
    @Size(max=45)
    private String engineNumber;

    @Label("flag")
    @Size(max=45)
    private String flag;

    @Label("车架号")
    @Size(max=45)
    private String frameNumber;

    @Label("id")
    @NotNull(groups={UpdateCheck.class})
    @Size(max=24)
    private String id;

    @Label("保单号")
    @Size(max=45)
    private String insurancePolicy;

    @Label("交强险号")
    @Size(max=45)
    private String liabilityInsura;

    @Label("牌照号")
    @Size(max=45)
    private String licencePlate;

    @Label("行驶证有限期")
    @Size(max=45)
    private String limitTime;

    @Label("当前位置")
    @Size(max=45)
    private String location;

    @Label("onlineTask")
    @Size(max=5)
    private String onlineTask;

    @Label("状态")
    @Size(max=45)
    private String status;

    @Label("tbFuelRegisterId")
    @Size(max=24)
    private String tbFuelRegisterId;

    @Label("微信号")
    @Size(max=45)
    private String weixinNo;

    @Label("微信密码")
    @Size(max=45)
    private String weixinPassword;

    public String getBaseCompanyId() {
        return baseCompanyId;
    }

    public void setBaseCompanyId(String baseCompanyId) {
        this.baseCompanyId = baseCompanyId;
    }

    public String getBaseDriverId() {
        return baseDriverId;
    }

    public void setBaseDriverId(String baseDriverId) {
        this.baseDriverId = baseDriverId;
    }

    public String getBaseFleetId() {
        return baseFleetId;
    }

    public void setBaseFleetId(String baseFleetId) {
        this.baseFleetId = baseFleetId;
    }

    public String getBaseGps() {
        return baseGps;
    }

    public void setBaseGps(String baseGps) {
        this.baseGps = baseGps;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public Float getDeadWeight() {
        return deadWeight;
    }

    public void setDeadWeight(Float deadWeight) {
        this.deadWeight = deadWeight;
    }

    public String getDriver() {
        return driver;
    }

    public void setDriver(String driver) {
        this.driver = driver;
    }

    public String getEngineNumber() {
        return engineNumber;
    }

    public void setEngineNumber(String engineNumber) {
        this.engineNumber = engineNumber;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getFrameNumber() {
        return frameNumber;
    }

    public void setFrameNumber(String frameNumber) {
        this.frameNumber = frameNumber;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getInsurancePolicy() {
        return insurancePolicy;
    }

    public void setInsurancePolicy(String insurancePolicy) {
        this.insurancePolicy = insurancePolicy;
    }

    public String getLiabilityInsura() {
        return liabilityInsura;
    }

    public void setLiabilityInsura(String liabilityInsura) {
        this.liabilityInsura = liabilityInsura;
    }

    public String getLicencePlate() {
        return licencePlate;
    }

    public void setLicencePlate(String licencePlate) {
        this.licencePlate = licencePlate;
    }

    public String getLimitTime() {
        return limitTime;
    }

    public void setLimitTime(String limitTime) {
        this.limitTime = limitTime;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getOnlineTask() {
        return onlineTask;
    }

    public void setOnlineTask(String onlineTask) {
        this.onlineTask = onlineTask;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getTbFuelRegisterId() {
        return tbFuelRegisterId;
    }

    public void setTbFuelRegisterId(String tbFuelRegisterId) {
        this.tbFuelRegisterId = tbFuelRegisterId;
    }

    public String getWeixinNo() {
        return weixinNo;
    }

    public void setWeixinNo(String weixinNo) {
        this.weixinNo = weixinNo;
    }

    public String getWeixinPassword() {
        return weixinPassword;
    }

    public void setWeixinPassword(String weixinPassword) {
        this.weixinPassword = weixinPassword;
    }

    public String toString() {
         return String.format("EBaseCar { baseCompanyId : %s,baseDriverId : %s,baseFleetId : %s,baseGps : %s,comments : %s,company : %s,deadWeight : %s,driver : %s,engineNumber : %s,flag : %s,frameNumber : %s,id : %s,insurancePolicy : %s,liabilityInsura : %s,licencePlate : %s,limitTime : %s,location : %s,onlineTask : %s,status : %s,tbFuelRegisterId : %s,weixinNo : %s,weixinPassword : %s }",baseCompanyId,baseDriverId,baseFleetId,baseGps,comments,company,deadWeight,driver,engineNumber,flag,frameNumber,id,insurancePolicy,liabilityInsura,licencePlate,limitTime,location,onlineTask,status,tbFuelRegisterId,weixinNo,weixinPassword);
    }

}

